#ifndef __USART5_H
#define __USART5_H

#include "stm32f10x.h"

#define USART1_RX_BUFF_SIZE  256

extern u8 USART1_RX_BUF[USART1_RX_BUFF_SIZE];
extern u16 USART1_RX_CNT;
extern u8 USART1_RX_FLAG;

void USART1_Init(u32 bound);
void USART1_SendChar(char ch);
void USART1_SendString(const char *str);
void USART1_Printf(const char *format, ...);
void USART1_SendData(const unsigned char *data, unsigned int length);
#endif
